<?php
	if(!isset($_SESSION['translation']) || isset($_GET["reload"]))
	{
		//English translation.
		$_SESSION['translation']["EN"] = array();
		$_SESSION['translation']["EN"]["langCode"] = "EN";
		$_SESSION['translation']["EN"]["search"] = "search";
		$_SESSION['translation']["EN"]["username"] = "username";
		$_SESSION['translation']["EN"]["password"] = "password";
		$_SESSION['translation']["EN"]["login"] = "login";
		$_SESSION['translation']["EN"]["register"] = "register";
		$_SESSION['translation']["EN"]["blogControl"] = "blog control";
		$_SESSION['translation']["EN"]["googleName"] = "google username";
		$_SESSION['translation']["EN"]["googlePassword"] = "google password";
		$_SESSION['translation']["EN"]["loginFail"] = "login failed, please try again";
		$_SESSION['translation']["EN"]["loginSucces"] = "login passed, welcome ";
		$_SESSION['translation']["EN"]["logout"] = "logout";
		$_SESSION['translation']["EN"]["menu"] = "Menu";
		$_SESSION['translation']["EN"]["posts"] = "Blog post";

		//Dutch translation.
		$_SESSION['translation']["NL"] = array();
		$_SESSION['translation']["NL"]["langCode"] = "NL";
		$_SESSION['translation']["NL"]["search"] = "zoeken";
		$_SESSION['translation']["NL"]["username"] = "gebruikersnaam";
		$_SESSION['translation']["NL"]["password"] = "wachtwoord";
		$_SESSION['translation']["NL"]["login"] = "log in";
		$_SESSION['translation']["NL"]["register"] = "registreer";
		$_SESSION['translation']["NL"]["blogControl"] = "blog beheer";
		$_SESSION['translation']["NL"]["googleName"] = "google gebruikersnaam";
		$_SESSION['translation']["NL"]["googlePassword"] = "google wachtwoord";
		$_SESSION['translation']["NL"]["loginFail"] = "login gefaald, probeer het opnieuw";
		$_SESSION['translation']["NL"]["loginSucces"] = "login gehaald, welkom ";
		$_SESSION['translation']["NL"]["logout"] = "logout";
		$_SESSION['translation']["NL"]["menu"] = "Menu";
		$_SESSION['translation']["NL"]["posts"] = "Blog berichten";
	}
?>